Hi, Is there any construct in DXL for querying item for type. I am looping through a Folder and want to populate a choice dialogue with items in the folder that are either folders or projects?
void getStd(Folder f)
// test item for type folder and if so....
Thanks in advance Mark mwilliamson - Wed Jan 08 10:18:29 EST 2014 |
Re: Querying itemRef for Folder
Be advised that the "type()" of a Project is exactly "Project" and is not "Folder". Thus you will realistically often do this:
-Louie
|
Re: Querying itemRef for Folder llandale - Wed Jan 08 11:57:59 EST 2014
Be advised that the "type()" of a Project is exactly "Project" and is not "Folder". Thus you will realistically often do this:
-Louie
Many thanks Louie. How come I can't find that in the DXL Ref Manual? Mark |
Re: Querying itemRef for Folder mwilliamson - Wed Jan 08 13:02:17 EST 2014 Many thanks Louie. How come I can't find that in the DXL Ref Manual? Mark It is in the DXL manual. Command "type" after command "setShowDeletedItems" section "Hierarchy information" chapter "Rational DOORS hierarchy". In the help "index" it is command "type(item)". |